package com.rui.service.impl;


import com.rui.dto.PlatUserDTO;
import com.rui.feign.UserInfoFeign;
import com.rui.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserServiceImpl implements UserInfoService {

    @Autowired
    private UserInfoFeign userInfoFeign;

    @Override
    public PlatUserDTO getPlatUser() {
        return userInfoFeign.getPlatUser();
    }
}
